-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(twap): hide learn more link #2815
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
</span> | ||
{showLink && ( | ||
<span> | ||
Learn more about <ExternalLink href={buttonLink}>{orderType} orders ↗</ExternalLink> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not making buttonLink
optional param instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this way, we just need to not specify the URL until is available
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good suggestion, will update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM besides the question I mentioned in #2803 (review)
And maybe we should remove 'new' from the Limit orders Unlock screen?
The new doesn't bother me personally, but maybe you are right. Fine to remove too, no preference |
Summary
Hides learn more text from Unlock screen on advanced orders
Source https://cowservices.slack.com/archives/C0361CDG8GP/p1688740674594089
To test